﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="Jzy.Web.CRM.SiteAccount.Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <style type="text/css">
        .style1
        {
            width: 80px; height:30px; text-align:right;
        }
       .style2
       {
           text-align:left; padding-left:5px;
       }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <asp:Panel ID="pnlMain" runat="server" CssClass="pnlMain">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
            <tr>
                <td class="style1">
                    <span style="color:Red;">*</span>&nbsp;<asp:Label ID="Label1" runat="server" Text="网站名："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Name" runat="server" Width="200px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                        Display="None" ErrorMessage="网站名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:CheckBox ID="IsPublic" runat="server" Text="共享" />
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label4" runat="server" Text="网址："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Url" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Url"
                        Display="None" ErrorMessage="请输入网址" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label6" runat="server" Text="用户名："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="LoginName" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="LoginName"
                        Display="None" ErrorMessage="请输入用户名" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr >
                <td class="style1">
                    <span style="color:Red">*</span>&nbsp;<asp:Label ID="Label3" runat="server" Text="密码："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Password" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Password"
                        Display="None" ErrorMessage="请输入密码" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label5" runat="server" Text="备注："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Remark" runat="server" Width="250px" CssClass="txt" 
                        Height="50px" TextMode="MultiLine"></asp:TextBox>
                    
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowSummary="False"
        ShowMessageBox="True"></asp:ValidationSummary>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
 <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
</asp:Content>
